/**
 * 闭包
 */
pub fn run() {
    let double = |x: i32| {x*2};
    let add = |a: i32, b: i32|{a+b};
    println!("add:{}", add(5, 5));
    println!("double:{}", double(5));
}